<?php
/**
 * Created by PhpStorm.
 * User: YUWENXUAN
 * Date: 2017/4/14
 * Time: 17:55
 */

$site =isset($_GET['site'])? $_GET['site']:'菜鸟教程';

$site1 = $_GET['site']??'笨鸟教程';


print $site.'<br>';
print $site1.'<br>';

$site2 = $_GET['site'] ?? $_POST['site1'] ?? '开心教程';

//$site3 = isset($_GET['site3'])? 'site3':isset($_GET['aa'])? 'aa':'开心咖啡';

print $site2.'<br>';
//print $site3.'<br>';





